package demo4;

import java.util.ArrayList;
import java.util.List;
import java.util.Random;

public class Test {
    public static void main(String[] args) {
        Game game = new Game();

        // 获得一副牌
        List<Poker> pokers = game.buyPoker();
        System.out.println(pokers);

        //打乱牌
        game.disturbancePoker(pokers);
        System.out.println(pokers);

        //发牌
        List<List<Poker>> hand = game.uncoveringPoker(pokers);
        for (int i = 0; i < hand.size(); i++) {
            System.out.println("第" + (i+1) + "的人的牌:" + hand.get(i));
        }
    }
}
